package com.whmskj.xjlhsc.controller.vo;

import lombok.Data;

@Data
public class EnergyTypeRatioVO {
    private String type; // 设备类型
    private double energy; // 能耗值
    private double ratio; // 占比(%)
    private String unit; // 单位
    
    public EnergyTypeRatioVO() {}
    
    public EnergyTypeRatioVO(String type, double energy, double ratio, String unit) {
        this.type = type;
        this.energy = energy;
        this.ratio = ratio;
        this.unit = unit;
    }
}
